package book.service;

import book.entity.User;
import book.entity.duzhe;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;


public interface DuzheServices {

    List<duzhe> getAll(int offset, int limit, duzhe condition);

    int getCount();

    void insert(duzhe dz);

    void update(duzhe dz);

    void delete(int id);

    duzhe getById(Integer id);

    void todel(List<Integer> jihe);

    void chongzhi(duzhe dz);

    void updaduzhe(duzhe condition);
}
